<?php slot('on_sidebar', array('signin' => true, 'category_list' => true)) ?>
<?php slot('title', $category->getTitle()) ?>
<h2 id="category-name"><?php echo $category->getName() ?></h2>

<?php include_partial('post_preview', array('posts' => $posts, 'is_category' => true))?>

<?php if($posts->haveToPaginate()): ?>
  <?php include_partial('pager', array('posts' => $posts, 'route' => '@blog_category_listing?category='.$category->getUrl().'&page=')) ?>
<?php endif; ?>